import time,unittest
from A3mall.Case.Case import Case
from Tools.Tools import get_log,send_email
from BeautifulReport import BeautifulReport

get_log()
t=time.strftime('%Y%m%d_%H%M%S',time.localtime())
suite=unittest.TestLoader().loadTestsFromTestCase(Case)
send_email(r'D:\桌面\YuKao_a3mall\A3mall\20250909-100824_log.log',r'D:\桌面\YuKao_a3mall\A3mall\20250909_100824_html.html')
BeautifulReport(suite).report(description='报告',filename=t+'_html.html')
